<template>
  <div>
    <div v-show="!$route.meta.coverParent">
    <SearchInput></SearchInput>
    <MyTree></MyTree>
    </div>
    <router-view></router-view>
  </div>
</template>

<script>
import MyTree from '../components/myTree.vue'
import SearchInput from '@/components/searchInput.vue'
import { mapActions } from 'vuex'

export default {
  name: 'Classification',
  components: {
    MyTree,
    SearchInput
  },
  data () {
    return {

    }
  },
  watch: {

  },
  created () {
    this.getClassificationData()
  },
  mounted () {
  },
  methods: {
    ...mapActions('Classification', { getClassificationData: 'getClassificationData' })
  }
}

</script>
<style scoped lang='scss'>
</style>
